package com.item.service;

import com.item.dao.PassTokenMapper;
import com.item.dao.model.PassToken;
import com.item.dao.model.PassTokenExample;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PassTokenService {
    @Autowired
    private PassTokenMapper passTokenMapper;

    private static final Logger logger = Logger.getLogger(PassTokenService.class);

    public int countByExample(PassTokenExample example) {
        return this.passTokenMapper.countByExample(example);
    }

    public PassToken selectByPrimaryKey(String id) {
        return this.passTokenMapper.selectByPrimaryKey(id);
    }

    public List<PassToken> selectByExample(PassTokenExample example) {
        return this.passTokenMapper.selectByExample(example);
    }

    public int deleteByPrimaryKey(String id) {
        return this.passTokenMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(PassToken record) {
        return this.passTokenMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(PassToken record) {
        return this.passTokenMapper.updateByPrimaryKey(record);
    }

    public int deleteByExample(PassTokenExample example) {
        return this.passTokenMapper.deleteByExample(example);
    }

    public int updateByExampleSelective(PassToken record, PassTokenExample example) {
        return this.passTokenMapper.updateByExampleSelective(record, example);
    }

    public int updateByExample(PassToken record, PassTokenExample example) {
        return this.passTokenMapper.updateByExample(record, example);
    }

    public int insert(PassToken record) {
        return this.passTokenMapper.insert(record);
    }

    public int insertSelective(PassToken record) {
        return this.passTokenMapper.insertSelective(record);
    }
}